package com.atguigu.eduservice.entity.subject;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

//一级分类
@Data
public class OneSubjectVo {

    private String id;
    private String title;

    //一个一级分类里面有很多的二级分类
    private List<TwoSubjectVo> children = new ArrayList<>();
}
